﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application.ApiAdminServices;

/// <summary>
/// 文件
///</summary>
public class ApiFilesQuery : LayuiPageBaseQuery
{
    /// <summary>
    /// 关键词
    /// </summary>
    public string? KeyWords { get; set; }

    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTimeOffset? StartDate { get; set; }

    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTimeOffset? EndDate { get; set; }


    /// <summary>
    /// 文件类型
    /// </summary>
    public FileType? FileType { get; set; }

    /// <summary>
    /// 文件存储类型
    /// </summary>
    public FileStorageType? FileStorageType { get; set; }


    /// <summary>
    /// 层级路径
    /// 格式 a/b/c
    /// </summary>
    public string LevelPath { get; set; }

    /// <summary>
    /// 来源数据ID
    /// </summary>
    public int? SourceDataId { get; set; }

    /// <summary>
    /// 来源数据类型
    /// </summary>
    public string SourceDataType { get; set; }

    ///// <summary>
    ///// 开始日期
    ///// </summary>
    //public DateTimeOffset? StartTime { get; set; }
    ///// <summary>
    ///// 开始日期
    ///// </summary>
    //public DateTimeOffset? EndTime { get; set; }
}